package com.cmccgz.udacs_landlord_webapp.main.accreditmanager;

import com.cmccgz.baselibrary.base.BasePresenter;
import com.cmccgz.baselibrary.base.BaseView;
import com.cmccgz.udacs_landlord_webapp.bean.Person;

import java.util.List;

/**
 * @author: June
 * @Descripion:
 * @date 2017/10/27 09:10
 */

public interface PersonListContract {

    interface PersonListPresenter extends BasePresenter{
        void getData(String mobile, String houseId);
    }

    interface PersonListView extends BaseView<PersonListPresenter>{
        void showLoading();
        void refreshDataSuccess(List<Person> persons);
        void refreshDataFailed(String errorMsg);
    }
}
